﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using QT.Windows.Shell;

namespace IMClient
{
    public partial class Login : GlassForm
    {
        public Login()
        {
            InitializeComponent();
        }

        private void gbtnLogin_Click(object sender, EventArgs e)
        {
            Main myForm = new Main();
            myForm.Show();
            this.Hide();
        }

        private void gbtnSetting_Click(object sender, EventArgs e)
        {
            if (this.gbSetting.Visible)
            {
                this.gbSetting.Visible = false;
                this.Height -= this.gbSetting.Height;
            }
            else
            {
                this.gbSetting.Visible = true;
                this.Height += this.gbSetting.Height;
            }
        }

        private void gbtnExit_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
